package com.mylibraryapplication.http;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Jam on 16-8-12
 * Description:
 */
public class Benefit implements Serializable {

    /**
     * id : OCQiN6[x]SeJo[d]
     * contentListPic : [{"content_add_datetime":"2015-08-24 15:04:38","content_update_user":"admin","content_source":"原创","content_source_link":"","content_title":"隆重上线","content_status":1,"content_create_user":"admin","content_update_datetime":"2016-07-22 15:44:24","id":236,"content_author":"","external_link_title":"","content_summary":"","content_txt":"","channel_ids":"20","attach_path":"/files/2016-07-22/37703d16-fa94-43e5-a8e4-a068b8319a26.jpg","content_publish_time":"2015-08-28 15:00:35"}]
     * annualInterestRate : 3.0
     * demandTitle : 测试灵活宝_1
     */

    private String id;
    private double annualInterestRate;
    private String demandTitle;
    /**
     * content_add_datetime : 2015-08-24 15:04:38
     * content_update_user : admin
     * content_source : 原创
     * content_source_link :
     * content_title : 隆重上线
     * content_status : 1
     * content_create_user : admin
     * content_update_datetime : 2016-07-22 15:44:24
     * id : 236
     * content_author :
     * external_link_title :
     * content_summary :
     * content_txt :
     * channel_ids : 20
     * attach_path : /files/2016-07-22/37703d16-fa94-43e5-a8e4-a068b8319a26.jpg
     * content_publish_time : 2015-08-28 15:00:35
     */

    private List<ContentListPicBean> contentListPic;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public double getAnnualInterestRate() {
        return annualInterestRate;
    }

    public void setAnnualInterestRate(double annualInterestRate) {
        this.annualInterestRate = annualInterestRate;
    }

    public String getDemandTitle() {
        return demandTitle;
    }

    public void setDemandTitle(String demandTitle) {
        this.demandTitle = demandTitle;
    }

    public List<ContentListPicBean> getContentListPic() {
        return contentListPic;
    }

    public void setContentListPic(List<ContentListPicBean> contentListPic) {
        this.contentListPic = contentListPic;
    }

    public static class ContentListPicBean {
        private String content_add_datetime;
        private String content_update_user;
        private String content_source;
        private String content_source_link;
        private String content_title;
        private int content_status;
        private String content_create_user;
        private String content_update_datetime;
        private int id;
        private String content_author;
        private String external_link_title;
        private String content_summary;
        private String content_txt;
        private String channel_ids;
        private String attach_path;
        private String content_publish_time;

        public String getContent_add_datetime() {
            return content_add_datetime;
        }

        public void setContent_add_datetime(String content_add_datetime) {
            this.content_add_datetime = content_add_datetime;
        }

        public String getContent_update_user() {
            return content_update_user;
        }

        public void setContent_update_user(String content_update_user) {
            this.content_update_user = content_update_user;
        }

        public String getContent_source() {
            return content_source;
        }

        public void setContent_source(String content_source) {
            this.content_source = content_source;
        }

        public String getContent_source_link() {
            return content_source_link;
        }

        public void setContent_source_link(String content_source_link) {
            this.content_source_link = content_source_link;
        }

        public String getContent_title() {
            return content_title;
        }

        public void setContent_title(String content_title) {
            this.content_title = content_title;
        }

        public int getContent_status() {
            return content_status;
        }

        public void setContent_status(int content_status) {
            this.content_status = content_status;
        }

        public String getContent_create_user() {
            return content_create_user;
        }

        public void setContent_create_user(String content_create_user) {
            this.content_create_user = content_create_user;
        }

        public String getContent_update_datetime() {
            return content_update_datetime;
        }

        public void setContent_update_datetime(String content_update_datetime) {
            this.content_update_datetime = content_update_datetime;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getContent_author() {
            return content_author;
        }

        public void setContent_author(String content_author) {
            this.content_author = content_author;
        }

        public String getExternal_link_title() {
            return external_link_title;
        }

        public void setExternal_link_title(String external_link_title) {
            this.external_link_title = external_link_title;
        }

        public String getContent_summary() {
            return content_summary;
        }

        public void setContent_summary(String content_summary) {
            this.content_summary = content_summary;
        }

        public String getContent_txt() {
            return content_txt;
        }

        public void setContent_txt(String content_txt) {
            this.content_txt = content_txt;
        }

        public String getChannel_ids() {
            return channel_ids;
        }

        public void setChannel_ids(String channel_ids) {
            this.channel_ids = channel_ids;
        }

        public String getAttach_path() {
            return attach_path;
        }

        public void setAttach_path(String attach_path) {
            this.attach_path = attach_path;
        }

        public String getContent_publish_time() {
            return content_publish_time;
        }

        public void setContent_publish_time(String content_publish_time) {
            this.content_publish_time = content_publish_time;
        }

        @Override
        public String toString() {
            return "ContentListPicBean{" +
                    "content_add_datetime='" + content_add_datetime + '\'' +
                    ", content_update_user='" + content_update_user + '\'' +
                    ", content_source='" + content_source + '\'' +
                    ", content_source_link='" + content_source_link + '\'' +
                    ", content_title='" + content_title + '\'' +
                    ", content_status=" + content_status +
                    ", content_create_user='" + content_create_user + '\'' +
                    ", content_update_datetime='" + content_update_datetime + '\'' +
                    ", id=" + id +
                    ", content_author='" + content_author + '\'' +
                    ", external_link_title='" + external_link_title + '\'' +
                    ", content_summary='" + content_summary + '\'' +
                    ", content_txt='" + content_txt + '\'' +
                    ", channel_ids='" + channel_ids + '\'' +
                    ", attach_path='" + attach_path + '\'' +
                    ", content_publish_time='" + content_publish_time + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "Benefit{" +
                "id='" + id + '\'' +
                ", annualInterestRate=" + annualInterestRate +
                ", demandTitle='" + demandTitle + '\'' +
                ", contentListPic=" + contentListPic +
                '}';
    }
}
